package com.admin.service;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * 基础service
 * 
 * @author ZY
 * @date 2018/09/30
 */
public interface BaseService<T> {



    T selectByPrimaryKey(Serializable s);

    Integer insertSelective(T t);

    Integer insert(T t);

    Integer deleteByPrimaryKey(Serializable s);

    Integer updateSelective(T t);

    Integer update(T t);

    List<T> selectList(Map<String, Object> params);
}
